package com.itheima.多态.多态的三种体现_03.接口多态;

public interface Swim {
    void swimming();
}

class Dog implements Swim{

    @Override
    public void swimming() {
        System.out.println("狗狗学会了狗刨..");
    }
}
